/**
 * @module navigator页面跳转
 */

import { IFeidaoAiMobile } from '@dfeidao/atom-mobile/interfaces';

/**
 * 返回上一页
 * @see [react-native官方文档](https://reactnavigation.org/docs/zh-Hans/navigation-prop.html)
 * @param fd: IFeidaoAiMobile;	// 系统参数
 * @see [api](https://dfeidao.gitee.io/feidao-web/browser/local)
 * @example
 * ```ts
 * import go_back from '@dfeidao/atom-mobile/navigator/go-back';
 * go_back();
 * ```
 */

export default function go_back(fd: IFeidaoAiMobile) {
	return fd.page.props.navigation.goBack();
}
